const express = require('express');
const path = require('path');
const app = express();
const staticPath = path.resolve(__dirname, 'js/');
app.use('/js/', express.static(staticPath));
app.get('/api', (req, res) => {
  console.log('req, res: ', req, res);
  res.end();
})
app.listen('8082', (arg)=> {
  console.log(arg);
})